<template>
  <div class="home">
    <header class="header">
      <h1>Vue 3 + TypeScript 项目</h1>
      <p>这是一个基础的Vue 3项目模板</p>
    </header>

    <main class="main">
      <UserList />
    </main>
  </div>
</template>

<script setup lang="ts">
/**
 * 首页组件
 * 项目主页
 */

import UserList from '@/components/UserList.vue'
</script>

<style scoped>
.home {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.main {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
</style>
